Replication data and associated information for "The Politics of Status Preservation: Immigration and the Knowledge Economy Class" by Briitta van Staalduinen, Perspectives on Politics. briitta.van-staalduinen@uni-konstanz.de

COMPUTE ENVIRONMENT:

All figures and tables can be replicated using Stata/SE 18.0 on any operating system. The author used macOS Sequoia Version 15.3. 

FILES INCLUDED IN THE REPLICATION FOLDER

Data sets:
- ESS_1_10.dta = European Social Survey data (Rounds 1-10, 2002-2020) needed to replicate Figures 1-3 and Tables A1 and A3-A5. More information about the ESS available here: https://www.europeansocialsurvey.org. 
- inveduc.dta = INVEDUC data needed to replicate Figures 4-5 and A1 and Tables A12 and A6-A8. More information about INVEDUC available here: https://search.gesis.org/research_data/ZA6961.

Stata command files:
- ESS_analysis.do = Stata do file including the code needed to replicate Figures 1-3 and Tables A1 and A3-A5. 
- INVEDUC_analysis.do = Stata do file including the code needed to replicate Figures 4-5 and A1 and Tables A12 and A6-A8. 

REPLICATION PROCEDURE: 

Place all datasets and command files in the same folder. Open the required command file listed for each table or figure below. Each command file is annotated to indicate which lines of code corresponds to which figure or table.

FIGURES AND TABLES BY REQUIRED REPLICATION FILES:

Figure 1: ESS_analysis.do + ESS_1_10.dta
Figure 2: ESS_analysis.do + ESS_1_10.dta
Figure 3: ESS_analysis.do + ESS_1_10.dta
Figure 4: INVEDUC_analysis.do + inveduc.dta
Figure 5: INVEDUC_analysis.do + inveduc.dta
Figure A1: INVEDUC_analysis.do + inveduc.dta

Table A1: ESS_analysis.do + ESS_1_10.dta
Table A2: INVEDUC_analysis.do + inveduc.dta
Table A3: ESS_analysis.do + ESS_1_10.dta
Table A4: ESS_analysis.do + ESS_1_10.dta
Table A5: ESS_analysis.do + ESS_1_10.dta
Table A6: INVEDUC_analysis.do + inveduc.dta
Table A7: INVEDUC_analysis.do + inveduc.dta
Table A8: INVEDUC_analysis.do + inveduc.dta


